Skip to content

CodeAnalysis/AssignmentInTernaryCondition: add XML documentation#2678

Merged
jrfnl merged 1 commit into
WordPress:developfrom
rodrigoprimo:docs-assignment-in-ternary-condition
Feb 2, 2026
Merged

CodeAnalysis/AssignmentInTernaryCondition: add XML documentation#2678
jrfnl merged 1 commit into
WordPress:developfrom
rodrigoprimo:docs-assignment-in-ternary-condition

Conversation

@rodrigoprimo
Copy link
Copy Markdown
Contributor

@rodrigoprimo rodrigoprimo commented Dec 23, 2025

Description

This PR adds XML documentation for the WordPress.CodeAnalysis.AssignmentInTernaryCondition sniff.

The documentation is based on the work started by @Nic-Sevic in #2488. I squashed the original commits and, in a separate commit, made subsequent changes based on the review left in #2488.

I suggest squashing those two commits before merging. I'm opening the PR without doing that to make it easier to tell my changes apart from the original changes.

Suggested changelog entry

N/A

Related issues/external references

Related to: #1722
Supersedes: #2488
Closes #2488

@rodrigoprimo rodrigoprimo changed the title Docs assignment in ternary condition CodeAnalysis/AssignmentInTernaryCondition: add XML documentation Dec 23, 2025
@jrfnl jrfnl mentioned this pull request Dec 25, 2025
61 tasks
Copy link
Copy Markdown
Member

@jrfnl jrfnl left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@rodrigoprimo Thanks for picking this one up. Looking good. Left a couple of comments for you to think over.

Comment thread WordPress/Docs/CodeAnalysis/AssignmentInTernaryConditionStandard.xml Outdated
Comment thread WordPress/Docs/CodeAnalysis/AssignmentInTernaryConditionStandard.xml Outdated
Comment thread WordPress/Docs/CodeAnalysis/AssignmentInTernaryConditionStandard.xml Outdated
@rodrigoprimo
Copy link
Copy Markdown
Contributor Author

Thanks for your review, @jrfnl. I believe I addressed all the points you raised, and this PR is ready for another check.

Copy link
Copy Markdown
Member

@jrfnl jrfnl left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks @rodrigoprimo ! I believe this one is also ready for merge 🎉

@jrfnl
Copy link
Copy Markdown
Member

jrfnl commented Jan 29, 2026

Note for the second reviewer: please squash-merge this PR.

Copy link
Copy Markdown
Member

@dingo-d dingo-d left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Just one minor grammar quirk that stood out to me.

Comment thread WordPress/Docs/CodeAnalysis/AssignmentInTernaryConditionStandard.xml Outdated
Co-authored-by: Nic <Nic-Sevic@users.noreply.github.com>
Co-authored-by: Juliette <663378+jrfnl@users.noreply.github.com>
Co-authored-by: Denis Žoljom <dingo-d@users.noreply.github.com>
@rodrigoprimo rodrigoprimo force-pushed the docs-assignment-in-ternary-condition branch from fbecb2c to 54e4f11 Compare February 2, 2026 13:48
@rodrigoprimo
Copy link
Copy Markdown
Contributor Author

Just noting that I squashed the commits in this PR. I believe it is ready to be merged.

@jrfnl jrfnl merged commit 9508e0d into WordPress:develop Feb 2, 2026
31 checks passed
@rodrigoprimo rodrigoprimo deleted the docs-assignment-in-ternary-condition branch February 3, 2026 11:15
@jrfnl jrfnl modified the milestones: 3.3.x, 3.4.0 Feb 24, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants